package com.weipai.education.model;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
@Data
@Accessors(chain = true)
public class ApplicationUser {
    private Integer id;

    private Integer referrerUserId;

    private Integer submitUserId;

    @NotBlank(message = "申请人姓名不能为空")
    private String name;

    @NotBlank(message = "申请人手机号不能为空")
    private String mobile;

    @NotNull(message = "申请账号类别id不能为空")
    private Integer userCateId;

    @NotBlank(message = "现所属级别不能为空")
    private String nowCate;

    private Date createTime;

    private Date updateTime;

    private Integer isAudit;

    @NotBlank(message = "申请人省份不能为空")
    private String province;

    @NotBlank(message = "申请人城市不能为空")
    private String city;

    @NotBlank(message = "申请人区/县不能为空")
    private String county;

    @NotBlank(message = "申请人详细地址不能为空")
    private String address;

    @NotBlank(message = "推荐人账号不能为空")
    private String referrerAccountNumber;
    
}